package au.com.spaceandtime.coordinates;

import au.com.spaceandtime.time.HourMinSec;

/**
 * Hold Equatorial coordinates.
 * User: whale
 * Date: 19/10/13
 * Time: 12:41 PM
 */
public class Equatorial {

    private HourMinSec hourAngle;
    private double declination = 0.0d;

    public double getDeclination() {
        return declination;
    }

    public void setDeclination(double declination) {
        this.declination = declination;
    }

    public HourMinSec getHourAngle() {
        return hourAngle;
    }

    public void setHourAngle(HourMinSec hourAngle) {
        this.hourAngle = hourAngle;
    }

    public DegMinSec getDeclinationAsDegMinSec() {
        return (new DegMinSec(declination));
    }
}
